home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Nothing / Sources / SOMPart.cpp < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.3 KB  |  55 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SOMPart.cpp
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifdef SYMANTEC_CPLUS
  11. #define PRAGMA_IMPORT_SUPPORTED 1 
  12. #endif 
  13.  
  14. // Note: Defines.k must be included before FWSOMPrt.h
  15. #ifndef DEFINES_K
  16. #include "Defines.k"
  17. #endif
  18.  
  19. #ifndef FWSOMPRT_H
  20. #include "FWSOMPrt.h"
  21. #endif
  22.  
  23. #ifndef PART_H
  24. #include "Part.h"
  25. #endif
  26.  
  27. #if defined(__MWERKS__) && GENERATING68K
  28. // A hack to work around a bug
  29. #pragma import list somParentNumResolve, somGetGlobalEnvironment
  30. #endif
  31.  
  32.  
  33. //========================================================================================
  34. //
  35. //========================================================================================
  36.  
  37. #ifdef SYMANTEC_CPLUS
  38. #define SOMInit main 
  39. #endif 
  40.  
  41. #ifdef FW_BUILD_MAC
  42. #pragma segment odfnothing
  43. #endif
  44.  
  45. //========================================================================================
  46. //
  47. //========================================================================================
  48.  
  49. #if defined(__MWERKS__) && GENERATING68K
  50. // A hack to work around a bug
  51. #pragma import list somParentNumResolve
  52. #endif
  53.  
  54. FW_SOMPART(ODFExamples, ODFNothing, CNothingPart)
  55.